package com.gaoyu.smarttools.bean

/**
 * Created by ${高宇} on 17/6/6.
 */
class AirBean {
    private var mPower = 1 //开关
    private var mTmp = 25 //温度
    private var mMode = 1 //模式
    private var menergy = 0 //节能省电
    private var mWindDir = 1 //风向
    private var mWindCount = 2 //风量

    constructor()

    constructor(mPower: Int, mTmp: Int, mMode: Int, menergy: Int, mWindDir: Int, mWindCount: Int) {
        this.mPower = mPower
        this.mTmp = mTmp
        this.mMode = mMode
        this.menergy = menergy
        this.mWindDir = mWindDir
        this.mWindCount = mWindCount
    }


    fun getmTmp(): Int {
        return mTmp
    }

    fun setmTmp(mTmp: Int) {
        this.mTmp = mTmp
    }

    fun getmMode(): Int {
        return mMode
    }

    fun setmMode(mMode: Int) {
        this.mMode = mMode
    }

    fun getmPower(): Int {
        return mPower
    }

    fun setmPower(mPower: Int) {
        this.mPower = mPower
    }

    fun getmenergy(): Int {
        return menergy
    }

    fun setmenergy(menergy: Int) {
        this.menergy = menergy
    }

    fun getmWindCount(): Int {
        return mWindCount
    }

    fun setmWindCount(mWindCount: Int) {
        this.mWindCount = mWindCount
    }

    fun getmWindDir(): Int {
        return mWindDir
    }

    fun setmWindDir(mWindDir: Int) {
        this.mWindDir = mWindDir
    }

    override fun toString(): String {
        return "AirBean{" +
                "mPower=" + mPower +
                ", mTmp=" + mTmp +
                ", mMode=" + mMode +
                ", menergy=" + menergy +
                ", mWindDir=" + mWindDir +
                ", mWindCount=" + mWindCount +
                '}'
    }
}
